cmake_minimum_required(VERSION 3.17)
project(PaletteExtraction)

set(CMAKE_CXX_STANDARD 17)

# Set Environment Variables
set(PROJECT_ROOT_PATH "${PROJECT_SOURCE_DIR}")
set(EXECUTABLE_OUTPUT_PATH "${PROJECT_BINARY_DIR}/bin/")
set(LIBRARY_OUTPUT_PATH "${PROJECT_BINARY_DIR}/lib/")

include_directories(include)
add_subdirectory(src)

# we dont need opencv, just use for test, remove it
find_package(OpenCV 4 REQUIRED)

add_executable(PaletteExtraction main.cpp)
target_link_libraries(PaletteExtraction TaskManage Color ReduceColor ${OpenCV_LIBS})
